@import "core/base";

.page-block{
  padding: 0 42px;
}

.user-header{
  @include wh(100%,250px);

  .head{
    @include wh(130px,130px);
    border-radius: 100%;
    overflow: hidden;
    margin-top: 60px;
    margin-left: 42px;

    .img{
      @include wh(130px,130px);
      border-radius: 100%;
    }
  }

  .username{
    @include wh(auto,37px,37px);
    font-size: 28px;
    font-weight: bold;
    margin-top:107px;
    margin-left:30px;
  }

  .user-tool{
    display: block;
    @include wh(80px,100%);
    background: url("../../assets/images/user/tool.svg") left center no-repeat;
    background-size: auto 32px;
  }
}

.user-hr{
  @include wh(100%,16px);
  background: #F2F2F2;
}

.user-menu{
  display: block;
  @include wh(auto,96px,99px);
  border-bottom: 1px solid #C8C8C8;
  vertical-align:middle;
  font-size: 28px;
  padding-left: 102px;
  position: relative;
  background-size: 34px auto;
  background-position: left 46px center;
  background-repeat: no-repeat;
  overflow: hidden;

  &.no-border{
    border: 0;
  }

  &.no-mores{
    &:after{
      display: none;
    }
  }


  &:after{
    content: "\F00A";
    font:40px "vant-icon";
    display: block;
    @include wh(72px,96px,96px);
    float: right;
    color: #A4A4A4;
  }
}

.ad-box{
  @include wh(auto,300px);
  border-radius: 10px;
  overflow: hidden;
  background:#D8D8D8 ;
  //margin-top:16px;
  margin: 0 42px;

  .van-swipe-item {
    height: 300px;

    .img {
      @include wh(100%, 100%)
    }
  }
}

.media-list{
  overflow: hidden;
  display: block;
  margin-top: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid #C8C8C8;

  &.no-border{
    &:last-child{
      border: 0;
    }
  }

  &.have{
    &:last-child{
      border-bottom: 2px solid #C8C8C8;
    }
  }

  .media-list-logo {
    @include wh(286px, 221px);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #f4f4f4;

    //&:before{
    //  display: block;
    //  position: absolute;
    //  content: '';
    //  @include wh(92px,92px);
    //  background: url("../../assets/images/user/sell_no.svg");
    //  background-size: 100% 100%;
    //  left: 0;
    //  top: 0;
    //}
    //
    //&.sell{
    //  &:before{
    //    background: url("../../assets/images/user/sell_ok.svg");
    //    background-size: 100% 100%;
    //  }
    //}
  }

  .media-list-body {
    @include wh(336px,221px);
    margin-left: 28px;
    flex: 1;
    display:flex;
    flex-flow: column;
    justify-content: space-between;
    position: relative;

    .media-list-text-top {
      @include wh(100%, auto, 40px);
      font-size: 30px;
      overflow: hidden;
      max-height: 80px;
    }

    .media-list-text-tps {
      @include wh(100%, 35px, 35px);
      font-size: 26px;
      color: #A4A4A4;
      overflow: hidden;
    }

    .media-list-text-bottom {
      @include wh(100%,40px,40px);
      font-size: 30px;
      font-weight: bold;
      color: #EE6D6D;
      overflow: hidden;
      position: relative;
    }



    .msg-num{
      height: 24px;
      overflow: hidden;

      .item{
        float: left;
        height: 24px;
        line-height: 30px;
        margin-right: 30px;
        font-size: 20px;
        color: #C8C8C8;
        overflow: hidden;

        &:before{
          content: '';
          float: left;
          display: inline-block;
          background-size: auto 24px;
          background-position: left center;
          background-repeat: no-repeat;
        }

        &.good{
          &:before{
            @include wh(24px,24px);
            margin-right: 2px;
            background-image: url("../../assets/images/icon/inx_good.svg");
          }

        }
        &.star{
          &:before{
            @include wh(26px,24px);
            margin-right: 5px;
            background-image: url("../../assets/images/icon/inx_star.svg");
          }
        }
        &.book{
          &:before{
            @include wh(23px,24px);
            margin-right: 5px;
            background-image: url("../../assets/images/icon/inx_edit.svg");
          }
        }
        &.foot{
          &:before{
            @include wh(23px,24px);
            margin-right: 5px;
            background-image: url("../../assets/images/icon/foot.svg");
          }
        }
      }
    }
  }

  .list-btn-box{
    @include wh(100%,65px);
    border-top: 1px solid #F2F2F2;
    float: left;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;

    .refresh-btn{
      display: block;
      @include wh(125px,45px,45px);
      border-radius: 8px;
      border:2px solid rgba(44,141,255,1);
      color: #2C8DFF;
      font-size: 20px;
      text-align: center;
      margin-top: 20px;
      margin-left: 24px;

      &.active{
        color: #A4A4A4;
        border-color: #A4A4A4;
      }
    }
  }

  .list-btn{
    height: 221px;
    background: #2C8DFF;
    color: #fff;

    &.del{
      background: #A4CBF8;
    }
  }
}

.inx-public-title {
  @include wh(100%, 40px, 40px);
  margin-top: 30px;
  .icon {
    height: 30px;
    float: left;
    margin-right: 10px;
    margin-top: 5px;
  }

  &.before{
    &:before{
      content: '';
      display: block;
      @include wh(8px,40px);
      margin-top: 7px;
      float: left;
      background: #1E77E0;
      margin-right: 34px;
    }
  }

  .text {
    font-size: 30px;
    font-weight: bold;
    float: left;

    &.no-bold{
      font-weight: inherit;
    }
  }

  .more {
    display: block;
    @include wh(auto, 54px, 54px);
    padding-left: 64px;
    font-size: 28px;
    background: url(../../assets/images/icon/more.svg) left center no-repeat;
    background-size: 47px auto;
    float: right;
  }
}

.media-msg-list{
  overflow: hidden;
  display: block;
  margin-top: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid #C8C8C8;


  .media-list-logo {
    @include wh(200px, 154px);
    border-radius: 10px;
    overflow: hidden;
    background: #F4F4F4;
  }

  .media-list-body {
    @include wh(439px, 154px);
    margin-left: 24px;
    flex: 1;
    display:flex;
    flex-flow: column;
    justify-content: space-between;

    .media-list-text-top {
      @include wh(100%, auto, 37px);
      max-height: 74px;
      font-size: 30px;
      overflow: hidden;
    }

    .media-list-text-tps {
      @include wh(100%, 35px, 35px);
      font-size: 26px;
      color: #A4A4A4;
      overflow: hidden;
    }

    .media-list-text-bottom {
      @include wh(100%,40px,40px);
      font-size: 30px;
      font-weight: bold;
      color: #EE6D6D;
      overflow: hidden;
    }

    .msg-num{
      height: 24px;
      overflow: hidden;

      .item{
        float: left;
        height: 24px;
        line-height: 30px;
        margin-right: 30px;
        font-size: 20px;
        color: #C8C8C8;
        overflow: hidden;

        &:before{
          content: '';
          float: left;
          display: inline-block;
          background-size: auto 24px;
          background-position: left center;
          background-repeat: no-repeat;
        }

        &.good{
          &:before{
            @include wh(24px,24px);
            margin-right: 2px;
            background-image: url("../../assets/images/icon/inx_good.svg");
          }

        }
        &.star{
          &:before{
            @include wh(26px,24px);
            margin-right: 5px;
            background-image: url("../../assets/images/icon/inx_star.svg");
          }
        }
        &.book{
          &:before{
            @include wh(23px,24px);
            margin-right: 5px;
            background-image: url("../../assets/images/icon/inx_edit.svg");
          }
        }
      }
    }
  }

  .list-btn{
    height: 154px;
    background: #2C8DFF;
    color: #fff;

    &.del{
      background: #A4CBF8;
    }
  }
}

.invite-box{
  width:750px;
  height:449px;
  background:linear-gradient(174deg,rgba(2,119,255,1) 0%,rgba(120,182,255,1) 100%);

  .invite-title{
    @include wh(auto,37px,37px);
    padding: 0 42px;
    color: #fff;
    font-size: 28px;
    margin-top: 45px;
  }

  .invite-money{
    @include wh(auto,130px,130px);
    color: #fff;
    font-size: 98px;
    text-align: center;
    margin-top: 42px;
  }
}
.invite-list-box{
  @include wh(100%,auto);
  overflow: hidden;

  .item{
    border-bottom: 1px solid #C8C8C8;
    padding: 29px 42px;
    overflow: hidden;

    .item-box{
      width: 33%;
      float: left;

      &.cen{
        text-align: center;
        font-size: 28px;
        color: #1BAC18;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70px;

        &.active{
          color:#D50E0E;
        }
      }

      &.right{
        height: 70px;
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        font-size: 28px;
        float: right;
        color: #A4A4A4;

        &.active{
          color: #2C8DFF;
        }
      }

      .tit{
        height: 37px;
        line-height:37px ;
        font-size: 28px;
      }
      .time{
        color: #A4A4A4;
        margin-top: 8px;
        font-size: 19px;
        height: 24px;
        line-height: 24px;
      }
    }

    .item-header{
      @include wh(100%,37px,37px);
      font-size: 28px;
    }
    .item-footer{
      @include wh(100%,24px,24px);
      font-size: 18px;
      color: #A4A4A4;
      margin-top: 8px;

      .price{
        color: #686868;
      }
    }
  }
}

.invite-code-box{
  @include wh(auto,96px,96px);
  background: url("../../assets/images/icon/invite.svg") left 42px center no-repeat;
  background-size: auto 34px;
  border-bottom: 1px solid #C8C8C8;
  font-size: 28px;
  color: #686868;
  padding-left: 90px;
  padding-right: 42px;
}

.invite-btn{
  display: block;
  @include wh(370px,67px,67px);
  border: 2px solid #C8C8C8;
  text-align: center;
  font-size: 28px;
  border-radius: 49px;
  margin: 70px auto 0 auto;
}


.btn-box{
  @include wh(100%,90px);
  margin-top: 70px;
}
.btn-primary{
  width: 100%;
  background: #2C8DFF;
  color: #fff;
  font-size: 28px;
  height: 90px;
  line-height: 90px;
  position: fixed;
  left: 0;
  bottom: 0;
  text-align: center;
  z-index: 99;
}

.order-ul{
  @include wh(100%,auto);
  padding-top: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #C8C8C8;
  font-size: 28px;

  .item{
    @include wh(100%,67px,67px);

    .tit{
      color: #686868;
    }
  }
}

.book-list{
  overflow: hidden;
  border-bottom: 1px solid #C8C8C8;
  padding-bottom: 10px;
  margin-top: 30px;

  .list-header{
    @include wh(100%,37px,37px);
    font-size: 28px;

    .blue{
      color: #2C8DFF;
    }

    .delete{
      margin-left:20px;
    }
  }

  .list-body{
    @include wh(100%,auto);
    overflow: hidden;
    margin-top: 30px;

    &.no-mt{margin-top: 0}

    @include justify;

    .item{
      @include wh(auto,42px,42px);
      padding: 0 24px;
      font-size: 28px;
      color: #686868;
      border: 2px solid #A4A4A4;
      border-radius: 5px;
      margin: 0 0 22px 0;
    }
  }
}

.msg-book-tit{
  @include wh(auto,70px,70px);
  background: #F2F2F2;
  padding: 0 42px;
  font-size: 28px;

  .blue{
    color: #2C8DFF;
  }

  .delete{
    margin-left:30px;
  }
}

.msg-book-more{
  display: block;
  margin: 20px auto 50px auto;
  @include wh(440px,67px,67px);
  border-radius: 49px;
  text-align: center;
  border: 2px solid #C8C8C8;
  font-size: 28px;
  box-sizing: border-box;
}

.rel-public-title{
  @include wh(100%,100px,100px);
  background: #F2F2F2;
  margin-top: 10px;
  font-size: 28px;

  &:after{
    content: '';
    display: block;
    float: left;
    @include wh(8px,40px);
    background: #1E77E0;
    margin-top:30px;
    margin-right: 34px;
  }

  .txt{
    font-weight: bold;
  }
  .tps{
    font-size: 18px;
    color: #D50E0E;

    &.no{
      color: #686868;
    }
  }
}

.msg-footer-list{
  @include wh(100%,auto);
  margin-top: 30px;

  .list-title{
    font-size: 28px;
    color: #A4A4A4;
  }
  .list-body{
    font-size: 28px;

    .more{
      color: #2C8DFF;
    }
  }
}

.user-sou-box{
  @include wh(100%,374px);

  .item{
    @include wh(50%,374px);
    float: left;
    background: #2C8DFF;
    overflow: hidden;

    &.right{
      background: #1E77E0;
    }

    .title{
      @include wh(auto,37px);
      color: #fff;
      text-align: right;
      padding-right:48px;
      margin-top: 32px;
      font-size: 28px;

      a{
        color: #fff;
      }
    }

    .tit{
      font-size: 28px;
      height: 37px;
      padding-left:46px;
      color: #A4CBF8;
      margin-top: 50px;
    }

    .number{
      height: 52px;
      line-height: 52px;
      font-size: 40px;
      padding-left:46px;
      color: #fff;
      font-weight: bold;
      margin-top: 20px;
    }

    .item-btn{
      display: block;
      border: 2px solid #fff;
      border-radius: 49px;
      @include wh(270px,67px,64px);
      margin:35px auto 0 auto;
      color: #fff;
      font-size: 28px;
    }
  }

}

.red-tps{
  @include wh(auto,22px,22px);
  min-width: 45px;
  text-align: center;
  border-radius: 11px;
  background: #FF2020;
  position: absolute;
  left:100px ;
  top: 145px;
  color: #fff;
  font-size: 18px;
  overflow: hidden;

  &.m1{
    left: 255px;
  }
  &.m2{
    left: 405px;
  }
}

.svr-phone{
  text-align: center;
  font-size: 26px;
  margin-top: 50px;
}

.svr-phone span:nth-child(2){
  color: #686868;
}

